package com.quanyan.vote.mapper;

import com.quanyan.vote.entity.db.TbVoteRule;
import com.quanyan.vote.entity.db.TbVoteRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbVoteRuleMapper {
    int countByExample(TbVoteRuleExample example);

    int deleteByExample(TbVoteRuleExample example);

    int deleteByPrimaryKey(Byte id);

    int insert(TbVoteRule record);

    int insertSelective(TbVoteRule record);

    List<TbVoteRule> selectByExample(TbVoteRuleExample example);

    TbVoteRule selectByPrimaryKey(Byte id);

    int updateByExampleSelective(@Param("record") TbVoteRule record, @Param("example") TbVoteRuleExample example);

    int updateByExample(@Param("record") TbVoteRule record, @Param("example") TbVoteRuleExample example);

    int updateByPrimaryKeySelective(TbVoteRule record);

    int updateByPrimaryKey(TbVoteRule record);
}
